const Router = require('koa-router');
const userController = require('../controller/user')
// const contactController = require('../controller/contact')

const router = new Router({
    prefix: '/user'
});

//用户注册
router.post('/regist',userController.create)  
// router.get('/regist',userController.create)


//contact
// router.post('/contact',contactController.contact)

module.exports = router;